/*LayUI 初始化*/
.layui-table thead .layui-table-patch {
    display: none;
}

.layui-layer-title {
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: bold;
}

.layui-table tr {
    background: white;
    border-radius: 5px;
    border: 1px solid white;
    margin-top: 2px;
    display: block;
    box-shadow: 0 1px 6px #eee;
}

.layui-table-static tr {
    display: table-row;
}

body .layui-form-select dl dd.layui-this {
    background-color: orange;
}

.layui-table-page > div {
    text-align: center;
}

body .layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: orange;
}

body .layui-table {
    margin-top: 0;
}
/*End*/

body a[class~="username"] {
    color: orange;
}

    body a[class~="username"]:hover {
        color: orange;
        text-decoration: underline;
    }

b {
    font-weight: bold;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.iconfont:before {
    margin-right: 3px;
    font-size: inherit;
    color: inherit;
}

.fill {
    width: 100%;
    height: 100%;
}

.abs {
    position: absolute;
    left: 0;
    top: 0;
}

.headimg {
    border: 1px solid #ccc;
    border-radius: 50%;
}

.minfont, .minfont * {
    font-size: 0.8rem;
    color: #8e8e8e;
}

.blkfont, .blkfont * {
    font-size: 0.8rem;
    color: #3c3c3c;
}


.username {
    color: orange !important;
    font-size: inherit;
}

    .username:hover {
        color: orange !important;
        text-decoration: underline;
    }

    .username:hover {
        text-decoration: underline;
    }

.btn {
    width: 120px;
    height: 30px;
    border-radius: 6px;
    color: white;
    background-color: rgb(46, 140, 246);
    padding: 3px;
    cursor: pointer;
    border-style: none;
    box-sizing: unset;
    margin: 0 5px;
}

    .btn:hover {
        background-color: deepskyblue;
    }

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.mask {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    background-color: rgba(47, 45, 45,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.closebtn {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgb(255, 90, 90);
    display: flex;
    justify-content: center;
    align-items: center;
    border-style: none;
    cursor: pointer;
}

    .closebtn:hover {
        background-color: red;
    }

    .closebtn::before {
        content: "x";
        color: white;
        font-size: 1.3rem;
    }

.redback {
    background-color: #ec2d21;
    color: white;
}

.pad150 {
    padding-left: 150px;
    padding-right: 150px;
    box-sizing: border-box;
}

/*laypanel-夺宝详情*/

#laypanel-myrobs {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

    #laypanel-myrobs .d1 {
        height: 100px;
    }

    #laypanel-myrobs .info {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        #laypanel-myrobs .info .about {
            display: flex;
            justify-content: start;
            align-items: stretch;
            height: 60px;
        }

        #laypanel-myrobs .info .dl {
            width: 60px;
            margin-right: 5px;
        }

        #laypanel-myrobs .info .dr {
            flex-grow: 1;
            display: flex;
            justify-content: space-between;
            flex-direction: column;
        }



        #laypanel-myrobs .info .gdtit {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            font-size: 0.9rem;
            font-weight: bold;
            color: #444;
            max-width: 230px;
        }

        #laypanel-myrobs .info .dr .status {
            color: limegreen;
        }

    #laypanel-myrobs .gdimg {
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }

    #laypanel-myrobs .d2 {
        flex-grow: 1;
    }

    #laypanel-myrobs .robs {
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

        #laypanel-myrobs .robs .item {
            display: inline-block;
            height: 25px;
            text-align: center;
            line-height: 25px;
            color: orange;
            border: 1px solid orange;
            padding: 3px 5px;
            border-radius: 5px;
            cursor: default;
            margin-bottom: 5px;
            margin-right: 3px;
        }

    #laypanel-myrobs .blk-tit {
        font-size: 0.9rem;
        color: #444;
        font-weight: bold;
        border-bottom: 1px solid #ccc;
        margin-bottom: 5px;
    }

    #laypanel-myrobs .blk-tit,
    #laypanel-myrobs .info {
        padding-left: 10px;
    }

    #laypanel-myrobs .robs {
        padding: 0 5px;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

/*没有数据展示快*/
.nohave {
    width: 100%;
    height: 200px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

    .nohave:before {
        content: "";
        width: 60px;
        height: 72px;
        background: url("/Content/Images/nohave.png") no-repeat;
        background-size: 100% 100%;
        margin-right: 10px;
        display: inline-block;
    }

    .nohave:after {
        content: attr(text);
        color: #6e6e6e;
        font-weight: bold;
        font-size: 1.1rem;
        display: inline-block;
    }

/*GD-Area*/
.gd-area {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40px auto;
    width: 100%;
    min-width: 100%;
    height: 100%;
}

    .gd-area a:hover {
        text-decoration: underline;
    }

    .gd-area > div {
        width: 100%;
    }

    .gd-area .tbox {
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .gd-area .tbox .title {
            font-size: 22px;
            color: #000;
            font-family: "Microsoft Yahei";
            border-left: 4px solid red;
            padding-left: 5px;
        }

        .gd-area .tbox .more {
            color: #808080;
            font-family: "simsun";
        }

    .gd-area .gd-list {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        /*grid-template-rows: 1fr 1fr;*/
    }

    .gd-area .gd-list-c5 {
        grid-template-columns: repeat(5,1fr);
    }

/*商品展示块*/
.gd-item {
    height: 400px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    padding: 10px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
}

    .gd-item > * {
        width: 100%;
    }

    .gd-item .gtitle {
        height: 35px;
        display: block;
        box-sizing: border-box;
        overflow: hidden;
    }


    .gd-item .gdimg {
        width: 100%;
        height: 200px;
    }

    .gd-item > .favorite {
        position: absolute;
        right: 10px;
        top: 0;
        border-radius: 0 0 10px 10px;
        width: 35px;
        height: 35px;
        box-shadow: 1px 1px 4px #ccc;
        cursor: pointer;
        line-height: 35px;
        text-align: center;
        background-color: white;
    }

        .gd-item > .favorite > i {
            color: red;
            font-weight: bold;
        }

        .gd-item > .favorite:hover > i {
            color: orange;
        }

.favorite {
    position: relative;
}

    .favorite > i {
        font-size: 1.3rem;
        line-height: inherit;
    }

    .favorite::before, .favorite::after {
        content: "";
        position: absolute;
        border-radius: 100%;
        pointer-events: none;
        display: block;
    }

    .favorite::before {
        width: 3em;
        height: 3em;
        top: -1px;
        left: -1px;
        border: 1px solid #ea4c4c;
        opacity: 0;
    }

    .favorite::after {
        width: 8px;
        height: 8px;
        position: absolute;
        padding: 0 !important;
        display: inline-block;
        opacity: 0;
        border-radius: 100%;
        box-shadow: calc(1.5em) calc(-1.5em + 8px) 0px 0px #e94c4c,0px calc(-1.5em - 4px) 0px 0px #4CAF50,calc(-1.5em) calc(-1.5em + 8px) 0px 0px #009688,0px calc(1.5em + 4px) 0px 0px #673AB7,calc(1.5em) calc(1.5em - 8px) 0px 0px #FF9800,calc(-1.5em) calc(1.5em - 8px) 0px 0px #795548;
        pointer-events: none;
        left: calc(50% - 4px);
        top: calc(50% - 4px);
    }

    .favorite.collected i {
        /* fill white heart */
        display: inline-block;
        animation: collect-scale 0.5s ease-in-out;
    }

    .favorite.collected.animation::before {
        animation: collect-before 1s cubic-bezier(0.03,0.16,0.4,1.68);
    }

    .favorite.collected.animation::after {
        animation: collect-after 1s cubic-bezier(0.48,0.37,0.43,0.42) forwards;
    }
    /* star */
    .favorite.star-icon::before {
        border-color: #FF9800;
    }
    /* star */

    /* outline border */
    .favorite.border-icon {
        border: 1px solid #ea4c4c;
    }

    .favorite.star-icon.border-icon {
        border: 1px solid #FF9800;
    }
/* outline border */

@keyframes collect-scale {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.7);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes collect-before {
    0%,70% {
        border-width: 1px;
    }

    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        transform: scale(2.5);
        border-width: 0px;
        opacity: 0;
    }
}

@keyframes collect-after {
    0% {
        opacity: 0;
        transform: scale(1);
        box-shadow: calc(1.5em) calc(-1.5em + 8px) 0px 0px #e94c4c,0px calc(-1.5em - 4px) 0px 0px #4CAF50,calc(-1.5em) calc(-1.5em + 8px) 0px 0px #009688,0px calc(1.5em + 4px) 0px 0px #673AB7,calc(1.5em) calc(1.5em - 8px) 0px 0px #FF9800,calc(-1.5em) calc(1.5em - 8px) 0px 0px #795548;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(5);
        box-shadow: calc(1.5em) calc(-1.5em + 8px) 0px -10px #e94c4c,0px calc(-1.5em - 4px) 0px -10px #4CAF50,calc(-1.5em) calc(-1.5em + 8px) 0px -10px #009688,0px calc(1.5em + 4px) 0px -10px #673AB7,calc(1.5em) calc(1.5em - 8px) 0px -10px #FF9800,calc(-1.5em) calc(1.5em - 8px) 0px -10px #795548;
    }
}

@keyframes collect-after-2 {
    0% {
        opacity: 0;
        transform: scale(1);
        box-shadow: 20px -10px 0px 0px #e94c4c,0px -22px 0px 0px #4CAF50,-20px -10px 0px 0px #009688,0px 22px 0px 0px #673AB7,20px 12px 0px 0px #FF9800,-20px 13px 0px 0px #795548;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(5);
        box-shadow: 20px -10px 0px -10px #e94c4c,0px -22px 0px -10px #4CAF50,-20px -10px 0px -10px #009688,0px 22px 0px -10px #673AB7,20px 12px 0px -10px #FF9800,-20px 13px 0px -10px #795548;
    }
}
/* ie */
@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none) {
    .icon-collect::after {
        box-shadow: 20px -10px 0px 0px #e94c4c,0px -22px 0px 0px #4CAF50,-20px -10px 0px 0px #009688,0px 22px 0px 0px #673AB7,20px 12px 0px 0px #FF9800,-20px 13px 0px 0px #795548 !important;
    }

    .icon-collect.animation.collected::after {
        animation: collect-after-2 1s cubic-bezier(0.48,0.37,0.43,0.42) forwards !important;
    }
}
/* edge */
_:-ms-lang(x), _::-webkit-meter-bar, .icon-collect::after {
    box-shadow: 20px -10px 0px 0px #e94c4c,0px -22px 0px 0px #4CAF50,-20px -10px 0px 0px #009688,0px 22px 0px 0px #673AB7,20px 12px 0px 0px #FF9800,-20px 13px 0px 0px #795548 !important;
}

_:-ms-lang(x), _::-webkit-meter-bar, .icon-collect.animation.collected::after {
    animation: collect-after-2 1s cubic-bezier(0.48,0.37,0.43,0.42) forwards !important;
}


.gd-item .datas > * {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gd-item .btns {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .gd-item .btns > button {
        border-style: none;
        color: white;
    }

    .gd-item .btns .bynow {
        display: block;
        width: 136px;
        height: 35px;
        line-height: 35px;
        border-radius: 3px;
        background: #ec2d21;
        color: #fff;
        font-size: 16px;
        text-align: center;
        border-radius: 2px;
    }

        .gd-item .btns .bynow:hover {
            background-color: red;
        }

    .gd-item .btns .addcar {
        background: #ffac4a;
        border-radius: 2px;
        display: block;
        float: left;
        height: 35px;
        line-height: 35px;
        text-align: center;
        padding: 0 15px;
        font-size: 1.2rem;
    }

        .gd-item .btns .addcar:hover {
            background-color: orange;
        }

.gd-item .bars > * {
    margin-top: 5px;
}

/*账户充值弹出层*/
#topup {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-direction: column;
}

    #topup .d1, #topup .d2 {
        padding-left: 20px;
    }

    #topup .d3 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #topup .dem > li {
        display: inline-block;
        width: 80px;
        height: 30px;
        border: 1px solid #ccc;
        line-height: 30px;
        text-align: center;
        color: #666;
        padding: 2px;
        margin-bottom: 5px;
        cursor: pointer;
        font-size: 0.9rem;
    }

    #topup .dem > .sel {
        border-color: orange;
    }

    #topup .dem > li::after {
        content: "元";
        display: inline;
        font-size: inherit;
        color: inherit;
    }

    #topup h2 {
        font-size: 1.1rem;
        color: #6e6e6e;
    }


/**/
.ifpanel .navs {
    line-height: 30px;
}

    .ifpanel .navs a:last-child {
        color: red;
    }

    .ifpanel .navs a:hover {
        text-decoration: underline;
    }


body .goodlink {
    color: #444;
    cursor: pointer;
}

    body .goodlink:hover {
        color: #444;
        text-decoration: underline;
    }
